import tensorflow as tf

if __name__ == '__main__':
    c = tf.constant([1,2,3,4,5])
    # (1 + 2 + 3 + 4 + 5) / 5
    output = tf.reduce_mean(c)
    print(output)